package cn.ondraw.ragflow.pojo.response;

import lombok.Data;
import cn.ondraw.ragflow.pojo.request.CreateDatasetRequest;

import java.util.Date;

;

/**
 * 创建数据集的响应对象
 */
@Data
public class CreateDatasetResponse {
    /**
     * 响应码，0 表示成功
     */
    private int code;
    /**
     * 数据集相关数据
     */
    private DataInfo data;

    /**
     * 数据集数据类
     */
    @Data
    public static class DataInfo {
        private String avatar;
        private int chunk_count;
        private String chunk_method;
        private Date create_date;
        private long create_time;
        private String created_by;
        private String description;
        private int document_count;
        private String embedding_model;
        private String id;
        private String language;
        private String name;
        private int pagerank;
        private CreateDatasetRequest.ParserConfig parser_config;
        private String permission;
        private double similarity_threshold;
        private String status;
        private String tenant_id;
        private int token_num;
        private Date update_date;
        private long update_time;
        private double vector_similarity_weight;
    }
}
